package TREE;
public class Node {
    public Object data;
    public Node left;
    public Node right;
    public Node parent;
    
    public Node(Object o){
        this.data=o;
        this.left=null;
        this.right=null;
        this.parent=null;
    }
    
    public Node(Object o,Node left,Node right,Node parent){
        this.data=o;
        this.left=left;
        this.right=right;
        this.parent=parent;
    }
    public Node(){
        this.data=null;
        this.left=null;
        this.right=null;
        this.parent=null;
    }
}
